package com.zmn.oms.persistence.interfaces.operator;


import com.zmn.oms.model.entity.operator.OrderWorkOperator;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface OrderWorkOperatorDao {
    int deleteByPrimaryKey(Long orderId);

    int insert(OrderWorkOperator record);

    int insertSelective(OrderWorkOperator record);

    OrderWorkOperator selectByPrimaryKey(Long orderId);

    OrderWorkOperator findByOrderIdAndWorkId(@Param("orderId") Long orderId, @Param("workId") Long workId);

    List<OrderWorkOperator> listEsOrderWorkOperatorByOrderIdList(@Param("orderIdList") List<Long> orderIdList);

    int updateByPrimaryKeySelective(OrderWorkOperator record);

    int updateByPrimaryKey(OrderWorkOperator record);
}